package com.myway.dto.logs;

import com.myway.dto.logs.domain.IBEMethodType;

import java.io.Serializable;
import java.util.Date;

/**
 * 类名称：DTOIBELogs 
 * 类描述：TODO IBE日志DTO
 * 创建时间：2015年10月27日 上午11:39:32 
 * @author Jiang.Yida
 * @version V1.0
 */
public class DTOIBELogs implements Serializable
{

	/**
	 * TODO usage of field
	 */
	private static final long serialVersionUID = 1L;
	
	private Long id;
	private Date createTime;
	private String officeNo;
	private IBEMethodType ibeMethod;
	private String printNo;
	private String ibeIp;
	private String content;
	private String airlineCode;
	private String pnrNo;
	private String ticketNo;
	private String shortContent;
	
	
	
	
	/**
	 * @return the ticketNo
	 */
	public String getTicketNo()
	{
		return ticketNo;
	}


	
	/**
	 * @param ticketNo the ticketNo to set
	 */
	public void setTicketNo(String ticketNo)
	{
		this.ticketNo = ticketNo;
	}


	/**
	 * @return the pnrNo
	 */
	public String getPnrNo()
	{
		return pnrNo;
	}

	
	/**
	 * @param pnrNo the pnrNo to set
	 */
	public void setPnrNo(String pnrNo)
	{
		this.pnrNo = pnrNo;
	}

	/**
	 * @return the id
	 */
	public Long getId()
	{
		return id;
	}
	
	/**
	 * @param id the id to set
	 */
	public void setId(Long id)
	{
		this.id = id;
	}
	
	/**
	 * @return the createTime
	 */
	public Date getCreateTime()
	{
		return createTime;
	}
	
	/**
	 * @param createTime the createTime to set
	 */
	public void setCreateTime(Date createTime)
	{
		this.createTime = createTime;
	}
	
	/**
	 * @return the officeNo
	 */
	public String getOfficeNo()
	{
		return officeNo;
	}
	
	/**
	 * @param officeNo the officeNo to set
	 */
	public void setOfficeNo(String officeNo)
	{
		this.officeNo = officeNo;
	}
	
	/**
	 * @return the ibeMethod
	 */
	public IBEMethodType getIbeMethod()
	{
		return ibeMethod;
	}
	
	/**
	 * @param ibeMethod the ibeMethod to set
	 */
	public void setIbeMethod(IBEMethodType ibeMethod)
	{
		this.ibeMethod = ibeMethod;
	}
	
	/**
	 * @return the printNo
	 */
	public String getPrintNo()
	{
		return printNo;
	}
	
	/**
	 * @param printNo the printNo to set
	 */
	public void setPrintNo(String printNo)
	{
		this.printNo = printNo;
	}
	
	/**
	 * @return the ibeIp
	 */
	public String getIbeIp()
	{
		return ibeIp;
	}
	
	/**
	 * @param ibeIp the ibeIp to set
	 */
	public void setIbeIp(String ibeIp)
	{
		this.ibeIp = ibeIp;
	}
	
	/**
	 * @return the content
	 */
	public String getContent()
	{
		return content;
	}
	
	/**
	 * @param content the content to set
	 */
	public void setContent(String content)
	{
		this.content = content;
		if(null != content && content.length()>=120){
			this.shortContent = content.substring(0,119);
		}else{
			this.shortContent = content;
		}
	}
	
	public String getShortContent() {
		return shortContent;
	}



	/**
	 * @return the airlineCode
	 */
	public String getAirlineCode()
	{
		return airlineCode;
	}
	
	/**
	 * @param airlineCode the airlineCode to set
	 */
	public void setAirlineCode(String airlineCode)
	{
		this.airlineCode = airlineCode;
	}
}
